package com.lanou.bean;

import java.util.Date;

public class AddrInfo {
    private Integer id;

    private String vipNo;

    private Integer provinceId;

    private Integer cityId;

    private String addrInfo;

    private String isPrimary;

    private String isUsed;

    private Date instDate;

    private Integer instId;

    private Date mdfDate;

    private Integer mdfId;

    //省信息
    private String province;
    //市信息
    private String city;
    public AddrInfo(Integer id, String vipNo, Integer provinceId, Integer cityId, String addrInfo, String isPrimary, String isUsed, Date instDate, Integer instId, Date mdfDate, Integer mdfId) {
        this.id = id;
        this.vipNo = vipNo;
        this.provinceId = provinceId;
        this.cityId = cityId;
        this.addrInfo = addrInfo;
        this.isPrimary = isPrimary;
        this.isUsed = isUsed;
        this.instDate = instDate;
        this.instId = instId;
        this.mdfDate = mdfDate;
        this.mdfId = mdfId;
    }

    public AddrInfo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVipNo() {
        return vipNo;
    }

    public void setVipNo(String vipNo) {
        this.vipNo = vipNo == null ? null : vipNo.trim();
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getAddrInfo() {
        return addrInfo;
    }

    public void setAddrInfo(String addrInfo) {
        this.addrInfo = addrInfo == null ? null : addrInfo.trim();
    }

    public String getIsPrimary() {
        return isPrimary;
    }

    public void setIsPrimary(String isPrimary) {
        this.isPrimary = isPrimary == null ? null : isPrimary.trim();
    }

    public String getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(String isUsed) {
        this.isUsed = isUsed == null ? null : isUsed.trim();
    }

    public Date getInstDate() {
        return instDate;
    }

    public void setInstDate(Date instDate) {
        this.instDate = instDate;
    }

    public Integer getInstId() {
        return instId;
    }

    public void setInstId(Integer instId) {
        this.instId = instId;
    }

    public Date getMdfDate() {
        return mdfDate;
    }

    public void setMdfDate(Date mdfDate) {
        this.mdfDate = mdfDate;
    }

    public Integer getMdfId() {
        return mdfId;
    }

    public void setMdfId(Integer mdfId) {
        this.mdfId = mdfId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "AddrInfo{" +
                "id=" + id +
                ", vipNo='" + vipNo + '\'' +
                ", provinceId=" + provinceId +
                ", cityId=" + cityId +
                ", addrInfo='" + addrInfo + '\'' +
                ", isPrimary='" + isPrimary + '\'' +
                ", isUsed='" + isUsed + '\'' +
                ", instDate=" + instDate +
                ", instId=" + instId +
                ", mdfDate=" + mdfDate +
                ", mdfId=" + mdfId +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                '}';
    }
}